import http from '@/utils/request.js'

export default {
    updateUserPoints: {
        name: '更新用户积分',
        url: `${import.meta.env.VITE_API_URL}/userPoints/updateUserPoints`,
        async post (data) {
            return await http.post(this.url, data)
        }
    },
}